export default {
	convertUserOrderStatus(status) {
		switch(status) {
			case 1:
				return "待付款"
			case 2:
				return "已付款"
			case 3:
				return "已完成"
			case 4:
				return "已取消"
		}
	},
	
	convertSysOrderStatus(status) {
		switch(status) {
			case 1:
				return "待付款"
			case 2:
				return "已付款"
			case 3:
				return "生产中"
			case 4:
				return "待自提"
			case 5:
				return "待配送"
			case 6:
				return "配送中"
			case 7:
				return "已完成"
			case 8:
				return "已取消"
			case 9:
				return "支付中"
		}
	},
	convertOrderType(type) {
		switch(type) {
			case 1:
				return "到店自取"
			case 2:
				return "配送到家"
			case 3:
				return "店内消费"
		}
	}
}